package cn.pxxy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class ViewController {
    @RequestMapping(value = {"/index.html","/"})
    public String mainPage(){
        return "index";
    }
    @RequestMapping("/login.html")
    public String loginPage(){
        return "login";
    }
}
